SdfBrowser allows you to run queries against Microsoft SqlServer.
against Microsoft SqlServer Compact edition files (.sdf)...version works with sdf files version 3.0, 3.5, 4.0...DB tasks using sdf-auto